﻿using Google.Protobuf.WellKnownTypes;
using Microsoft.AspNetCore.Builder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ebusiness_Framework.RegisterCenter
{
    /// <summary>
    ///  注册中心配置
    /// </summary>
    public static class RegisterCenterApplicationBuilderExtentions
    {
        public static IApplicationBuilder UseRegisterCenter(this IApplicationBuilder applicationBuilder)
        {
            applicationBuilder.UseHealthChecks("/health");
            return applicationBuilder;
        }
    }
}
